package com.lst.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lst.dao.MessageReadLogMapper;
import com.lst.model.MessageReadLog;
import com.lst.service.MessageReadLogService;


/**
 * @ClassName: MessageReadLogServiceImpl
 * @Description: 官方通知已读取记录类
 * 
 */
@Service("MessageReadLogService")
public class MessageReadLogServiceImpl implements MessageReadLogService {
	
	@Autowired
	private MessageReadLogMapper dao;

	@Override
	public int insert(MessageReadLog record) {
        
		return dao.insert(record);
	}

	@Override
	public MessageReadLog selectByPrimaryKey(Integer id) {
		
		return dao.selectByPrimaryKey(id);
	}

	@Override
	public MessageReadLog selectByMap(Map<String, Object> map) {
	
		return dao.selectByMap(map);
	}

	@Override
	public int updateById(Integer id) {
		
		return dao.updateById(id);
	}

	

}
